package com.guigu.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.guigu.pojo.WarehouseDetailsInfo;
import com.guigu.pojo.WarehouseInfo;

import java.util.List;
import java.util.Map;

public interface WarehouseDetailsInfoService extends IService<WarehouseDetailsInfo> {

    Page<WarehouseDetailsInfo> queryAll(WarehouseDetailsInfo warehouseDetailsInfo, Integer pageno, Integer pagesize);

    Map configWarehouseInfo(WarehouseDetailsInfo warehouseDetailsInfo);

    Map checkWarehouseDetailsInfo(WarehouseDetailsInfo warehouseDetailsInfo);

    Page queryAllByPId(WarehouseDetailsInfo warehouseDetailsInfo, Integer pageno, Integer pagesize);

    com.guigu.service.utils.Page queryAllshopid(WarehouseDetailsInfo warehouseDetailsInfo, Integer pageno, Integer pagesize);

    Map warehuseDetailsinfoallocate(Integer aid, Integer bid, Integer max);
}
